package com.shengzai.Jedis;

import redis.clients.jedis.Jedis;

public class Code2JedisSet {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("192.168.146.136", 6379);
        jedis.set("name","zhangSan");
        String name = jedis.get("name");

        System.out.println(name);
    }
}
